package cn.holy.app.xcddt.ui.activity.splash

import android.os.Handler
import cn.holy.app.xcddt.R
import cn.holy.app.xcddt.ui.activity.base.BaseActivity
import com.alibaba.android.arouter.launcher.ARouter

/**
 * Created by 69568 on 2018/3/5.
 */

class SplashActivity : BaseActivity() {
    override fun initView() {
    }

    override fun initLayout() {
        setContentView(R.layout.activity_splash)
    }

    override fun initData() {
        Handler().postDelayed({
            ARouter.getInstance().build("/app/login").navigation()
            finish()
        }, 1000)
    }

}